#ifndef PROCESSBARDIALOG_H
#define PROCESSBARDIALOG_H

#include <QDialog>
#include <GlobalApi/idialog.h>

namespace Ui {
class ProcessBarDialog;
}

class ProcessBarDialog : public QDialog,IDialog
{
    Q_OBJECT

public:
    explicit ProcessBarDialog(QWidget *parent = 0);
    void setMessage(const QString &message);
    void setProcessBarVisible(bool visible);
    void setProcessBarValue(int value);
    int getProcessBarVaule();
    void setButtonEnable(bool enable);
    void setButtonVisible(bool visible);
    ~ProcessBarDialog();

private slots:
    void on_Btn_Cancel_clicked();

private:
    Ui::ProcessBarDialog *ui;
};

#endif // PROCESSBARDIALOG_H
